package com.pro.mapper;

import com.pro.pojo.JsActicleCategroy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JsActicleCategroyMapper {
    //微圈评论分类树
    List<JsActicleCategroy> getAllJsActicleCategroy();
    //添加一条节点
    boolean addJsActicleCategroy(@Param("artcleCategroyName") String artcleCategroyName,@Param("parentId") Integer parentId,@Param("createId")Integer createId,@Param("createDate")String createDate);
    //修改一条节点名称
    boolean editJsActicleCategroy(@Param("artcleCategroyName") String artcleCategroyName,@Param("acticleCategroyId") Integer acticleCategroyId,@Param("updateId") Integer updateId,@Param("updateDate") String updateDate);
    //删除一条节点
    boolean deleteJsActicleCategroy(Integer acticleCategroyId);
}
